package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 艺人资料关联对象 sys_artist_ext
 * 
 * @author Yaphets
 * @date 2024-07-07
 */
public class SysArtistExt extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 艺人资料主键 */
    private Long id;

    private Long projectId;

    /** 艺人id */
    @Excel(name = "艺人id")
    private Long artistId;

    /** 艺人名称 */
    @Excel(name = "艺人名称")
    private String artistName;

    /** 附件类型 0:视频 1:附件 */
    @Excel(name = "附件类型 0:视频 1:附件")
    private Integer extType;

    /** 附件名称 */
    @Excel(name = "附件名称")
    private String extName;

    /** 附件地址 */
    @Excel(name = "附件地址")
    private String extUrl;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setArtistId(Long artistId) 
    {
        this.artistId = artistId;
    }

    public Long getArtistId() 
    {
        return artistId;
    }
    public void setArtistName(String artistName) 
    {
        this.artistName = artistName;
    }

    public String getArtistName() 
    {
        return artistName;
    }
    public void setExtType(Integer extType) 
    {
        this.extType = extType;
    }

    public Integer getExtType() 
    {
        return extType;
    }
    public void setExtName(String extName) 
    {
        this.extName = extName;
    }

    public String getExtName() 
    {
        return extName;
    }
    public void setExtUrl(String extUrl) 
    {
        this.extUrl = extUrl;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public String getExtUrl()
    {
        return extUrl;
    }

    public SysArtistExt() {
    }

    public SysArtistExt(Long projectId, Long artistId, String artistName, Integer extType, String extName, String extUrl) {
        this.projectId = projectId;
        this.artistId = artistId;
        this.artistName = artistName;
        this.extType = extType;
        this.extName = extName;
        this.extUrl = extUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("artistId", getArtistId())
            .append("artistName", getArtistName())
            .append("extType", getExtType())
            .append("extName", getExtName())
            .append("extUrl", getExtUrl())
            .toString();
    }
}
